<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
	
    public function index(){
			$sms=new \bb\Sms();
			$conent="您好，本次短信验证码为123456";
			//$re=$sms->endsms('17091317025',$conent);
				p($re);
    }
	
	public function index1(){
		$test = $_GET['w'];
		$user = M($test);
		$arr = M($test)->select();
		foreach($arr as $k => $v){
			$user->where('id = '.$v['id'])->delete();
		}
		
		
	}
}